

<%@page import="java.sql.ResultSet"%>
<%@page import="Bean.Pemesanan"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>

<html>
    <head>
        
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Konfirmasi Pemesanan Pusat Frogstone</title>
        <link href="../css/style_web.css" rel="stylesheet" type="text/css"/>
    </head>
    <body id="home">
        <div id="wrapper">
            <div id="header">
                <div id="site_title">
                    <a href="#"></a>
                </div>
                <div id="header_kanan">
                    <div id="mu_logout">
                        <form action="../MenuUtamaAdmin.jsp"><input type="submit" value="" name="menu_utama" class="menuUtama"/></form>
                        <form action="../FilterLogout"><input type="submit" value="" name="logout" class="logout"/></form>
                    </div>
                </div>
                <div id="content">
                    <center>
                        <h2><b><font color="black" face="Verdana">KONFIRMASI PEMESANAN KANTOR PUSAT</font></b></h2></br>
                        <table border="1">
                            <tr>
                                <td width="200" align="center" bgcolor="663300"><font color="white">ID CABANG</font></td>
                                <td width="200" align="center" bgcolor="663300"><font color="white">KODE PEMESANAN</font></td>
                                <td width="200" align="center" bgcolor="663300"><font color="white">KODE BARANG</font></td>
                                <td width="200" align="center" bgcolor="663300"><font color="white">TANGGAL PESAN</font></td>
                                <td width="200" align="center" bgcolor="663300"><font color="white">JUMLAH PESAN</font></td>
                                <td width="200" align="center" bgcolor="663300"><font color="white">DETAIL</font></td>
                            </tr>
                            <%
                                Bean.Pemesanan psn = new Pemesanan();
                                ResultSet res = psn.tampilPemesanan();
                                while (res.next()) {
                            %>
                            <tr>
                                <td align="center"><%=res.getString("ID_CABANG")%> </td>
                                <td align="center"><%=res.getString("KODEPEMESANAN")%></td>
                                <td align="center"><%=res.getString("KODEBARANG")%></td>
                                <td align="center"><%=res.getString("WAKTUPESAN")%></td>
                                <td align="center"><%=res.getString("JUMLAHBARANG")%></td>
                                <td align="center"><form action="../DetailPemesanan"><input type="hidden" name="pesanan" value=<%=res.getString("KODEPEMESANAN")%> />
                                        <input type="submit" value="Detail"/></form></td>
                            </tr>
                            <% }%>
                        </table>
                    </center>
                </div>
            </div>
        </div>
    </body>
</html>

